<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html lang="en">
	<head>
		<base href="<%=basePath%>">
		<meta charset="utf-8" />
		<title>用户登录</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta name="description" content="" />
		<meta name="author" content="stilearning" />

		<!-- styles -->
		<link href="css/bootstrap.css" rel="stylesheet" />
		<link href="css/bootstrap-responsive.css" rel="stylesheet" />
		<link href="css/stilearn.css" rel="stylesheet" />
		<link href="css/stilearn-responsive.css" rel="stylesheet" />
		<link href="css/stilearn-helper.css" rel="stylesheet" />
		<link href="css/stilearn-icon.css" rel="stylesheet" />
		<link href="css/font-awesome.css" rel="stylesheet" />
		<link href="css/animate.css" rel="stylesheet" />
		<link href="css/uniform.default.css" rel="stylesheet" />

		<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	</head>

	<body>
		<!-- section header -->
		<header class="header" data-spy="affix" data-offset-top="0">
		<!--nav bar helper-->
		<div class="navbar-helper">
			<div class="row-fluid">
				<!--panel site-name-->
				<div class="span9">
					<div class="panel-sitename">
						<h2>
							<a href="userlogin.html"><span class="color-teal">RSC</span>-System</a>
						</h2>
					</div>
				</div>
				<div class="panel-text">
					<h7>
					<a href="courierlogin.jsp"><span class="color-white">邮差登录</span>
					</a>
					</h7>
				</div>
			</div>
		</div>
		<!--/nav bar helper-->
		</header>

		<!-- section content -->
		<section class="section">
		<div class="container">
			<div class="signin-form row-fluid">
				<!--Sign In-->
				<div class="span5 offset3">
					<div class="box corner-all">
						<div class="box-header grd-teal color-white corner-top">
							<span>普通用户登录</span>
						</div>
						<div class="box-body bg-white">
							<form action="userlogin" method="post">
								<div class="control-group">
									<label>
										姓名
									</label>
									<div class="controls">
										<input type="text" class="input-block-level"
											data-validate="{required: true, messages:{required:'Please enter field username'}}"
											name="username" id="login_username" autocomplete="off" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">
										密码
									</label>
									<div class="controls">
										<input type="password" class="input-block-level"
											data-validate="{required: true, messages:{required:'Please enter field password'}}"
											name="password" id="login_password" autocomplete="off" />
									</div>
								</div>
								<div class="control-group">
									<div class="pull-right helper-font-32">

									</div>
									<label class="checkbox">
										<input type="checkbox" data-form="uniform" name="remember_me"
											id="remember_me_yes" value="yes" />
										Remember me
									</label>
								</div>
								<div class="form-actions">
									<input type="submit"
										class="btn btn-block btn-large btn-primary" value="登录" />
									<input type="button"
										class="btn btn-block btn-large btn-success" value="注册新账户"
										onclick="window.location.href='user_register.jsp'">
								</div>
							</form>
						</div>
					</div>
				</div>
				<!--/Sign In-->
			</div>
			<!-- /row -->
		</div>
		<!-- /container -->
		</section>

		<!-- javascript-->
		<script src="js/jquery.js"></script>
		<script src="js/bootstrap.js"></script>
		<script src="js/uniform/jquery.uniform.js"></script>

		<script type="text/javascript">
	$(document).ready(function() {
		// try your js

		// uniform
		$('[data-form=uniform]').uniform();

		// validate
		$('#sign-in').validate();
		$('#sign-up').validate();
		$('#form-recover').validate();
	})
</script>
	</body>
</html>
